//
//  HeadView.m
//  Zaker
//
//  Created by lirui on 16/3/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "HeadView.h"

@implementation HeadView

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if ( self) {
        self.title = [[BaseLabel alloc] init];
//        self.title.backgroundColor = [UIColor greenColor];
        self.title.frame = CGRectMake(10, 0, self.frame.size.height, self.frame.size.height);
        [self addSubview:self.title];
        self.button = [ BaseButton buttonWithType:UIButtonTypeSystem];
        self.button.frame = CGRectMake(300* WIDTH, 0, 50 * WIDTH, 50 * HEIGHT);
//        self.button.backgroundColor = [ UIColor yellowColor];
        [self.button setTitle:@">" forState:UIControlStateNormal];
        self.button.tintColor = [UIColor grayColor];
        [ self addSubview:_button];
    }
    return self;
}
@end
